@extends('layouts.main')

@section('content')

        @foreach($goods as $item)

        <div class="col-sm-3" style="text-align:center;">
        <ul class="thumbnails">
	<li class="span3" >
    	<div class="thumbnail">
        <a href="{{route('goods.show',['id'=>$item->goods_id])}}" target="_blank" class="thumbnail"><img src="{{$item->pic ?? ''}}"></a>
        	<h3 style="font-size:15px"><a href="{{route('goods.show',['id'=>$item->goods_id])}}" target="_blank">{{$item->name ?? ''}}</a></h3>
            
            <span class="btn btn-success">￥ {{$item->price ?? ''}} </span>
        </div>
    </li>
</ul>
</div>



        @endforeach

@endsection

